home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
editor
/
words3.lha
/
Words
/
WarpSPELL
/
source
/
DMakefile
< prev
next >
Wrap
Makefile
|
1995-06-20
|
1KB
|
55 lines
# scanner library makefile (DICE)
OD = o/
EXE = golded:syntax/warpSPELL.parser
CFLAGS = -mRR -ms -mi -s -// -I$(OD) -l0 -Ldlib: -lc -lamiga20 -proto -Idinclude:amiga30
PROTOS = $(OD)lib-protos.h
# linker libraries (used during GoldED development only)
LIB = golded:syntax/developer/dlib/scanlib.lib
RLIB = golded:syntax/developer/dlib/scanlibr.lib
SRLIB = golded:syntax/developer/dlib/scanlibsr.lib
SRCS = init.c lib.c funcs.c tag.a
OBJS = $(SRCS:"*.a":"$(OD)*.o") $(SRCS:"*.c":"$(OD)*.o")
all: $(OD) $(PROTOS) $(EXE) $(LIB) $(RLIB) $(SRLIB)
# note: flush program flushes memory (i.e. any previous version of
# this library that is in memory is flushed), new utility that does
# not exist on older DICE distributions.
$(EXE) : $(OBJS)
dcc $(CFLAGS) %(right) -o %(left) -v
-flush
$(OBJS) : $(SRCS)
dcc $(CFLAGS) %(right) -o %(left) -c
$(PROTOS) : $(SRCS)
makeproto -o %(left) %(right)
$(LIB) : lib.fd
fdtolib golded:syntax/developer/fd/lib.fd -o t:lib.o -I$(OD)
copy t:lib.o %(left)
delete t:lib.o
$(RLIB) : lib.fd
fdtolib golded:syntax/developer/fd/lib.fd -mr -h defs.h -o t:lib.o -I$(OD)
copy t:lib.o %(left)
delete t:lib.o
$(SRLIB) : lib.fd
fdtolib golded:syntax/developer/fd/lib.fd -mr -md -h defs.h -o t:lib.o -I$(OD)
copy t:lib.o %(left)
delete t:lib.o
clean:
-delete $(OBJS) $(PROTOS) QUIET
touch golded:syntax/developer/fd/lib.fd
$(OD) : $(OD)
makedir %(left:*/:*)